knew how the wind blows

v. 知风向(识时务;认识大势所趋)